package com.hsj.springai.controller;


import com.hsj.springai.service.SellService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/miao-sha")
public class SeckillController {
    @Resource
    private SellService sellService;
    @PostMapping("/kill")
    public String miaoSha(){
       return sellService.miaoSha(1,2);
    }
}
